package com.example.smartgreenhouse.service;

import com.example.smartgreenhouse.entity.ThresholdHistory;
import com.example.smartgreenhouse.entity.ThresholdSettings;

import java.util.List;

public interface ThresholdService {
    ThresholdSettings setThreshold(String type, int minValue, int maxValue, String operator);

    List<ThresholdHistory> getHistoryByType(String type);

    ThresholdSettings getCurrentThreshold(String type);
}